﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Volo.Abp.Validation;

namespace SandAbp.Dictionary.DataDictionarys.Dto
{
  public  class BaseCreateOrUpdateDictionaryDto
    {
        [Required]
        [DynamicStringLength(typeof(DataDictionaryConsts), nameof(DataDictionaryConsts.MaxNameLength))]
        public virtual string? Name { get; set; }

        public virtual string? Description { get; set; }

        public virtual short Sort { get; set; } = 0;
    }
}
